package org.example.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: TODO
 * @Author: gaow112
 * @Date: 2023-03-01
 * @Version: V1.0
 */
@Data
@ContentRowHeight(18)
@HeadRowHeight(23)
@ColumnWidth(20)
public class PoArriveorderVo {

    private String index;

    @ExcelProperty(value = "验收入库单号")
    private String id;

    @ExcelProperty(value = "磅单号")
    private String weighingNo;

    @ExcelProperty(value = "供应商")
    private String supplierName;

    @ExcelProperty(value = "净重")
    private BigDecimal packageBuckleHeavy;

    @ExcelProperty(value = "NC到货单号")
    private String srcOrderNo;

    @ExcelProperty(value = "物料编码")
    private String materialCode;

    @ExcelProperty(value = "物料名称")
    private String materialName;

    @ExcelProperty(value = "规格类型")
    private String materialInfo;

    @ExcelProperty(value = "入库数量")
    private BigDecimal inventNum;

    @ExcelProperty(value = "验收长度")
    private BigDecimal length;

    @ExcelProperty(value = "验收宽度")
    private BigDecimal width;

    @ExcelProperty(value = "验收厚度")
    private BigDecimal height;

    @ExcelProperty(value = "折算标")
    private BigDecimal conversionStandard;

    @ExcelProperty(value = "分摊重量")
    private BigDecimal arriveNum;

    @ExcelProperty(value = "理论验收重量")
    private BigDecimal theoreticalAcceptanceWeight;

    @ExcelProperty(value = "收货公司名称")
    private String orgName;

    @ExcelProperty(value = "收货公司编码")
    private String pkOrgV;

    @ExcelProperty(value = "过磅日期")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    @ExcelProperty(value = "NC入库单号")
    private String vbillcode;;

    @ExcelProperty("入库时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date dmakedate;

}
